package org.redis.cluster.loadbalance.slot;

public class SlotConstants {

	public final static String ROOT_PATH="/slot";
	
	public final static String INITED_NODE="/inited";
	
	public final static String INDEX_PATH="/index";

	public final static String REPLICATE_PATH="/replicate";
	
	public final static String LEADER_PATH="/leader";
	
	public final static String MAPPING_PATH="/mapping";
	
	public final static String SLOT_COUNT_SYSTEM_CONFIG="loadbalance_slot_count";
	public final static int DEFAULT_SLOT_COUNT=128;
	
	public final static String SLOT_LEADER_TIMEOUT_SYSTEM_CONFIG="loadbalance_slot_leader_timeout";
	public final static int DEFAULT_SLOT_LEADER_TIMEOUT=1000*60*5;
	
	public final static String SLOT_LEADER_THREAD_SYSTEM_CONFIG="loadbalance_slot_leader_thread";
	public final static int DEFAULT_SLOT_LEADER_THREAD=1;
}